﻿using System;

namespace Might.UIControls.PropertyEditor.Items {

    /// <summary>
    /// Base interface for property editor items.
    /// </summary>
    public interface IPropertyEditorItem {

        /// <summary>
        /// Occurs when value of property editor item changes.
        /// </summary>
        event EventHandler ValueChanged;

        /// <summary>
        /// Gets the label of property editor item.
        /// </summary>
        /// <value>The label.</value>
        string Label { get; }       
        
    }

}